<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
    content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>移动端搜索页（申）</title>
    <!-- 先引入各种文件 -->
    <link rel="stylesheet" href="./lib/mui/css/mui.min.css">
    <link rel="stylesheet" href="./lib/fa/css/font-awesome.min.css">
    <link rel="stylesheet" href="./css/common.css">
    <link rel="stylesheet" href="./css/search.css">

</head>
<body>
    <!-- 整体盒子构建 -->
    <div class="lt-layout">
        <!-- 头部 -->
        <div class="lt-header fl-x">
            <a href="#" class="mui-pull-left"><i class="mui-icon mui-icon-back"></i></a>
            <h4>搜索中心</h4>
        </div>
        <!-- 中间 -->
        <div class="lt-content">
            <!-- 1,搜索部分 -->
        <div class="s-1">
                <input type="text" placeholder="请输入搜索关键字" class="s1-txt">
                <button class="s1-btn mui-btn-primary">搜索</button>
        </div>
           
            <!-- 2,搜索历史部分 -->
            <div class="s-2">
            <div class="top">
                <div class="history">搜索历史</div>
                <div class="clear"><i class="mui-icon mui-icon-trash"></i>清空记录</div>
            </div>
            <ul class="search-history">
                <li>
                    <a href="#">奶茶</a>
                    <span class="mui-pull-right">×</span>
                </li>

            </ul>
            </div>
        </div>
        <!-- 底部 -->
        <div class="lt-footer">
            <ul class="lt-footer-ul">
                <li>
                    <a href="#">
                        <i class="fa fa-home"></i>
                        <p>首页</p>
                    </a>
                </li>
                <li>
                    <a href="category.html">
                        <i class="fa fa-list"></i>
                        <p>分类页</p>
                    </a>
                </li>
                <li>
                    <a href="#">
                        <i class="fa fa-cart-plus"></i>
                        <p>购物车</p>
                    </a>
                </li>
                <li>
                    <a href="user.html">
                        <i class="fa fa-user-circle"></i>
                        <p>用户中心</p>
                    </a>
                </li>
            </ul>
        </div>
    </div>
    <!-- 创建模板引擎：搜索框 -->
    <script type="text/template" id="temp">
        {{each htmlStr value index}}
        <li>
            <a href="#">{{value}}</a>
            <span class="mui-pull-right btn-del" data-id="{{index}}">×</span>
        </li>
        {{/each}}
    </script>



    <script src="./lib/mui/js/mui.js"></script>
    <script src="./lib/zepto/zepto.min.js"></script>
    <script src="./lib/artTemplate/template-web.js"></script>
    <script src="./js/commone.js"></script>
    <script src="./js/search.js"></script>
</body>
</html>